package com.myidis.response;

import com.myidis.entity.Department;
import com.myidis.entity.Quota;
import com.myidis.entity.QuotaType;

public class QuotaRes {
	private int id;
	private String code;
	private String chineseName;
	private String englishName;
	private String description;
	private int freqMonth;
	private int freqSeason;
	private int freqYear;
	private int composite;
	private QuotaType type;
	private Department dept;
	
	public QuotaRes() {
	}
	
	public QuotaRes(Quota quota, QuotaType type, Department dept) {
		this.id = quota.getId();
		this.code = quota.getCode();
		this.chineseName = quota.getChineseName();
		this.englishName = quota.getEnglishName();
		this.description = quota.getDescription();
		this.freqMonth = quota.getFreqMonth();
		this.freqSeason = quota.getFreqSeason();
		this.freqYear = quota.getFreqYear();
		this.composite = quota.getComposite();
		this.type = type;
		this.dept = dept;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getChineseName() {
		return chineseName;
	}
	public void setChineseName(String chineseName) {
		this.chineseName = chineseName;
	}
	public String getEnglishName() {
		return englishName;
	}
	public void setEnglishName(String englishName) {
		this.englishName = englishName;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getFreqMonth() {
		return freqMonth;
	}
	public void setFreqMonth(int freqMonth) {
		this.freqMonth = freqMonth;
	}
	public int getFreqSeason() {
		return freqSeason;
	}
	public void setFreqSeason(int freqSeason) {
		this.freqSeason = freqSeason;
	}
	public int getFreqYear() {
		return freqYear;
	}
	public void setFreqYear(int freqYear) {
		this.freqYear = freqYear;
	}
	public int getComposite() {
		return composite;
	}
	public void setComposite(int composite) {
		this.composite = composite;
	}
	public QuotaType getType() {
		return type;
	}
	public void setType(QuotaType type) {
		this.type = type;
	}
	public Department getDept() {
		return dept;
	}
	public void setDept(Department dept) {
		this.dept = dept;
	}
}
